
<table  border="1">
    <tr>
        <td>Title</td>   
        <td>Post View</td>
    </tr>
    <?php foreach ($this->TopPost as $title=>$row): ?>
        <tr>
            <td><?php echo $title; ?></td> 
            <td><?php echo $this->TopPost[$title]; ?></td>
        </tr>
    <?php endforeach; ?>       
</table>